<template>
  <div class="content-wrap">
    <van-nav-bar title="我的">
      <van-icon name="cross" slot="left"/>
    </van-nav-bar>

    <user-msg-box isLink avatarSize="large" style="margin-top: .4rem;" :to="{name: 'userEdit'}" :userMsg="$store.state.user.userData"></user-msg-box>

    <van-cell-group class="checkGroup">
      <van-cell title="设置" is-link icon="setting" :to="{name: 'userSetting'}" />
    </van-cell-group>
  </div>
</template>

<script>
  export default {
    name: 'user'
  }
</script>

<style scoped="scoped" lang="scss">
  .van-icon-setting {
    color: #1caaff;
  }
</style>
